package com.anche.cywebnew.Pojo.businessManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="vehcrpara")
public class CyDataVideoInfo {
    @XmlElement
    private String id;
    @XmlElement
    private String cyqxh;
    @XmlElement
    private String cyqtd;
    @XmlElement
    private String cylsh;
    @XmlElement
    private String cycs;
    @XmlElement
    private String cyxm;
    @XmlElement
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date kssj;
    @XmlElement
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date jssj;
    @XmlElement
    private String videopath;
    @XmlElement
    private String clms;
    @XmlElement
    private int times;
    @XmlElement
    private String clzt;
    @XmlElement
    private String splx;
    @XmlElement
    private String sczt;
    @XmlElement
    private String scms;
    //录像分段排序
    private int fdpx;
    private String cvrpath;

    public CyDataVideoInfo() {
    }

    public CyDataVideoInfo(String id, int times, String clzt, String clms, String videopath) {
        this.id = id;
        this.times = times;
        this.clzt = clzt;
        this.clms = clms;
        this.videopath = videopath;
    }

    public CyDataVideoInfo(String cylsh, String cycs) {
        this.cylsh = cylsh;
        this.cycs = cycs;
    }

    public CyDataVideoInfo(String cylsh, String cycs,String cyxm) {
        this.cylsh = cylsh;
        this.cycs = cycs;
        this.cyxm = cyxm;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCyqxh() {
        return cyqxh;
    }

    public void setCyqxh(String cyqxh) {
        this.cyqxh = cyqxh;
    }

    public String getCyqtd() {
        return cyqtd;
    }

    public void setCyqtd(String cyqtd) {
        this.cyqtd = cyqtd;
    }

    public String getCylsh() {
        return cylsh;
    }

    public void setCylsh(String cylsh) {
        this.cylsh = cylsh;
    }

    public String getCycs() {
        return cycs;
    }

    public void setCycs(String cycs) {
        this.cycs = cycs;
    }

    public String getCyxm() {
        return cyxm;
    }

    public void setCyxm(String cyxm) {
        this.cyxm = cyxm;
    }

    public Date getKssj() {
        return kssj;
    }

    public void setKssj(Date kssj) {
        this.kssj = kssj;
    }

    public Date getJssj() {
        return jssj;
    }

    public void setJssj(Date jssj) {
        this.jssj = jssj;
    }

    public String getVideopath() {
        return videopath;
    }

    public void setVideopath(String videopath) {
        this.videopath = videopath;
    }

    public String getClms() {
        return clms;
    }

    public void setClms(String clms) {
        this.clms = clms;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public String getClzt() {
        return clzt;
    }

    public void setClzt(String clzt) {
        this.clzt = clzt;
    }

    public String getSplx() {
        return splx;
    }

    public void setSplx(String splx) {
        this.splx = splx;
    }

    public String getSczt() {
        return sczt;
    }

    public void setSczt(String sczt) {
        this.sczt = sczt;
    }

    public String getScms() {
        return scms;
    }

    public void setScms(String scms) {
        this.scms = scms;
    }

    public int getFdpx() {
        return fdpx;
    }

    public void setFdpx(int fdpx) {
        this.fdpx = fdpx;
    }

    public String getCvrpath() {
        return cvrpath;
    }

    public void setCvrpath(String cvrpath) {
        this.cvrpath = cvrpath;
    }

    @Override
    public String toString() {
        return "CyDataVideoInfo{" +
                "id='" + id + '\'' +
                ", cyqxh='" + cyqxh + '\'' +
                ", cyqtd='" + cyqtd + '\'' +
                ", cylsh='" + cylsh + '\'' +
                ", cycs='" + cycs + '\'' +
                ", cyxm='" + cyxm + '\'' +
                ", kssj=" + kssj +
                ", jssj=" + jssj +
                ", videopath='" + videopath + '\'' +
                ", clms='" + clms + '\'' +
                ", times=" + times +
                ", clzt='" + clzt + '\'' +
                ", splx='" + splx + '\'' +
                '}';
    }
}
